//#include include/takeable.js

var label = "Alphose";
var version = "1338857534";
var name_single = "Alphose";
var name_plural = "Alphose";
var article = "an";
var description = "A compound made out of red, green and blue.";
var is_hidden = false;
var has_info = true;
var has_infopage = true;
var proxy_item = null;
var is_routable = false;
var adjusted_scale = 1;
var stackmax = 500;
var base_cost = 8;
var input_for = [164];
var parent_classes = ["alphose", "compound_base", "takeable"];
var has_instance_props = false;

var classProps = {
	"collection_id"	: ""	// defined by takeable
};

var instancePropsDef = {};

var verbs = {};

verbs.pickup = { // defined by takeable
	"name"				: "pick up",
	"ok_states"			: ["in_location"],
	"requires_target_pc"		: false,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 50,
	"tooltip"			: "Put it in your pack",
	"is_drop_target"		: false,
	"proximity_override"			: 800,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_pickup_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_pickup(pc, msg);
	}
};

verbs.give = { // defined by takeable
	"name"				: "give",
	"ok_states"			: ["in_pack"],
	"requires_target_pc"		: true,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 51,
	"tooltip"			: "Or, drag item to player",
	"is_drop_target"		: false,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_give_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_give(pc, msg);
	}
};

verbs.drop = { // defined by takeable
	"name"				: "drop",
	"ok_states"			: ["in_pack"],
	"requires_target_pc"		: false,
	"requires_target_item"		: false,
	"include_target_items_from_location"		: false,
	"is_default"			: false,
	"is_emote"			: false,
	"sort_on"			: 52,
	"tooltip"			: "Drop it on the ground",
	"is_drop_target"		: false,
	"conditions"			: function(pc, drop_stack){

		return this.takeable_drop_conditions(pc, drop_stack);
	},
	"handler"			: function(pc, msg, suppress_activity){

		return this.takeable_drop(pc, msg);
	}
};

function getFurnitureBaseGeo(){ // defined by alphose
	//
	// this code generated by the furniture plat editor - do not overwrite!
	//

	return { 'plats': {"0":{"platform_pc_perm":-1,"end":{"x":13,"y":-19},"start":{"x":-10,"y":-18},"platform_item_perm":-1}},
	         'walls': null
	};
}

// global block from compound_base
this.is_compound = 1;

function getDescExtras(pc){
	var out = [];
	if (pc && (!pc.checkItemsInBag("bag_alchemistry_kit", 1))) out.push([2, "Compounds are much easier to manage if you have an <a href=\"\/items\/497\/\" glitch=\"item|bag_alchemistry_kit\">Alchemistry Kit<\/a>."]);

	// automatically generated source information...
	out.push([2, "This can be made with a <a href=\"\/items\/463\/\" glitch=\"item|test_tube\">Test Tube<\/a>."]);
	if (pc && !pc.skills_has("alchemy_1")) out.push([2, "You need to learn <a href=\"\/skills\/51\/\" glitch=\"skill|alchemy_1\">Alchemy I<\/a> to use a <a href=\"\/items\/463\/\" glitch=\"item|test_tube\">Test Tube<\/a>."]);
	return out;
}

var tags = [
	"alchemy",
	"compound"
];


// this is a temporary fix, while the client doesn't load item defs
// from the XML files. we pass this data on login events.

function getAssetInfo(){
	return {
		'position': {"x":-11,"y":-19,"w":21,"h":19},
		'thumb': "iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM\/rhtAAAKzklEQVR42u1YC3BU5RX+EbAo0Gz2\nvdlNNg8MQh43YUN2E8KsUp+MzlZFbcd24owtvgkVFAXxIvIIJGRJDBAgYcOrKoprrWOx6NyqxUfF\n3kSlKiG55AEJhuQmIYDKdE7P+W82r90AWtqZzvTO\/LOwe7P3+8853+Nfxv5\/\/Yeu47m5zuaZOd6W\nGZ785jyP2JyXE2zK80ifuzMKLtlD5taJ7LeHJb5+U+c7770EhgA05eXI+G+ItBpmZEONR1AuCbin\nWr1scSuwp44Dm3cUxs4\/ev7vld2uYK3HBVJWOl97M67mqzI1CV4SJnOAX+ZMQ4DpgUsCcGWHzJZ9\nA+zpNhj1wBEY\/0wrGMp78ke8f1tavJfAaICS+ap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UYJ3reuVecsPIAHZpEdBiRgyS3oQNTKBfSCQ99OQoPTtxRrOUGiUCm7dUqRZLh2DIQ\nEIitCMZn9CMQBDOuOLI3G0oM+bSZpO0mbpNU6eTdZuyGUbWVj+DnFBjIEmn+KBNScKBcSP5dqAbH\nlZNWonPoi\/UF1nKjZNtoCJrLdMKP\/X1It1ZXgJKjklXSQtuUdRf6PgK55VyQbfkeuCdvwraWX+Qv\nXf\/Vi4LD\/+L1LxiBGPAodvcGAAAAAElFTkSuQmCC",
	};
};

var itemDef = {
	label		: this.label,
	name_plural	: this.name_plural,
	stackmax	: this.stackmax,
	is_hidden	: this.is_hidden,
	has_info	: this.has_info,
	adjusted_scale	: this.adjusted_scale,
	asset_swf_v	: "http:\/\/c2.glitch.bz\/items\/2012-04\/alphose-1334267015.swf",
	admin_props	: false,
	obey_physics	: true,
	in_background	: false,
	in_foreground	: false,
	has_status	: false,
	not_selectable	: false,
};

if (this.consumable_label_single) itemDef.consumable_label_single = this.consumable_label_single;
if (this.consumable_label_plural) itemDef.consumable_label_plural = this.consumable_label_plural;

itemDef.verbs = {
};
itemDef.hasConditionalVerbs = 1;
itemDef.emote_verbs = {
};
itemDef.hasConditionalEmoteVerbs = 0;
itemDef.tags = [
	"alchemy",
	"compound"
];
itemDef.keys_in_location = {
	"p"	: "pickup"
};
itemDef.keys_in_pack = {
	"r"	: "drop",
	"g"	: "give"
};

log.info("alphose.js LOADED");

// generated ok 2012-06-04 17:52:14 by kristi
